package com.rds.workflow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.core.domain.BaseEntity;

import java.util.Date;

public class RdaWfNodeAgentRel extends BaseEntity {

    /** id */
    private Long id;

    /** 描述 */
    private String description;

    /** 流程模板id */
    private Long workflowtempleteid;

    /** 流程模板节点id */
    private Long templeteNodeId;

    /** 委托人id */
    private Long agentUserId;

    /** 被委托人id */
    private Long beagentUserId;

    /** 委托开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 委托结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 代理类型 */
    private String agentTypeid;

    /** 流程委托条件1 */
    private String agentScript1;

    /** 流程委托条件2 */
    private String agentScript2;

    /** 流程委托条件3 */
    private String agentScript3;

    /** 流程委托条件4 */
    private String agentScript4;

    /** 流程委托条件5 */
    private String agentScript5;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 所有者 */
    private Long ownerid;

    /** 类型 */
    private Long typeid;

    /** 策略 */
    private Long policyid;

    /** 状态 */
    private Long stateid;

    /** 流程模板名 */
    private String workflowtempleteName;

    /** 流程模节点名 */
    private String templeteNodeName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getWorkflowtempleteid() {
        return workflowtempleteid;
    }

    public void setWorkflowtempleteid(Long workflowtempleteid) {
        this.workflowtempleteid = workflowtempleteid;
    }

    public Long getTempleteNodeId() {
        return templeteNodeId;
    }

    public void setTempleteNodeId(Long templeteNodeId) {
        this.templeteNodeId = templeteNodeId;
    }

    public Long getAgentUserId() {
        return agentUserId;
    }

    public void setAgentUserId(Long agentUserId) {
        this.agentUserId = agentUserId;
    }

    public Long getBeagentUserId() {
        return beagentUserId;
    }

    public void setBeagentUserId(Long beagentUserId) {
        this.beagentUserId = beagentUserId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAgentScript1() {
        return agentScript1;
    }

    public void setAgentScript1(String agentScript1) {
        this.agentScript1 = agentScript1;
    }

    public String getAgentScript2() {
        return agentScript2;
    }

    public void setAgentScript2(String agentScript2) {
        this.agentScript2 = agentScript2;
    }

    public String getAgentScript3() {
        return agentScript3;
    }

    public void setAgentScript3(String agentScript3) {
        this.agentScript3 = agentScript3;
    }

    public String getAgentScript4() {
        return agentScript4;
    }

    public void setAgentScript4(String agentScript4) {
        this.agentScript4 = agentScript4;
    }

    public String getAgentScript5() {
        return agentScript5;
    }

    public void setAgentScript5(String agentScript5) {
        this.agentScript5 = agentScript5;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Long ownerid) {
        this.ownerid = ownerid;
    }

    public Long getTypeid() {
        return typeid;
    }

    public void setTypeid(Long typeid) {
        this.typeid = typeid;
    }

    public Long getPolicyid() {
        return policyid;
    }

    public void setPolicyid(Long policyid) {
        this.policyid = policyid;
    }

    public Long getStateid() {
        return stateid;
    }

    public void setStateid(Long stateid) {
        this.stateid = stateid;
    }

    public String getAgentTypeid() {
        return agentTypeid;
    }

    public void setAgentTypeid(String agentTypeid) {
        this.agentTypeid = agentTypeid;
    }

    public String getWorkflowtempleteName() {
        return workflowtempleteName;
    }

    public void setWorkflowtempleteName(String workflowtempleteName) {
        this.workflowtempleteName = workflowtempleteName;
    }

    public String getTempleteNodeName() {
        return templeteNodeName;
    }

    public void setTempleteNodeName(String templeteNodeName) {
        this.templeteNodeName = templeteNodeName;
    }
}
